/**
 * 登录接口参数类型
 */
export interface  LoginData {
    username: string
    password: string
}

/**
 * 用户信息
 */
export interface UserRes {
    userId?: string
    name: string
    avatar: string
    buttons: string[]
    roles: string []
    routes: string[]
}

export interface AuthInfo {
    buttons: string[]
    roles: string[]
    routes: string[]
}

export interface UserInfo{
    userId?: string
    name: string
    avatar: string
}